package com.ligong.common.core.constants;

public class CacheConstants {

    public final static String LOGIN_TOKEN_KEY = "logintoken:";

    public final static long EXP = 720; // 过期时间

    public final static long REFRESH_TIME = 180;

    public final static String PHONE_CODE_KEY = "p:c:";

    public final static String CODE_TIME_KEY = "c:t:";

    public final static String EXAM_UNFINISHED_LIST = "e:t:l"; // 未完赛竞赛列表

    public final static String EXAM_HISTORY_LIST = "e:h:l"; // 历史竞赛列表

    public final static String EXAM_DETAIL = "e:d:"; // 竞赛详情信息

    public final static String USER_EXAM_LIST = "u:e:l"; // 用户竞赛列表

    public final static String USER_DETAIL = "u:d:"; // 用户详情

    public final static long USER_EXP = 10;

    public final static String USER_UPLOAD_TIMES_KEY = "u:u:t";

    public final static String QUESTION_LIST = "q:l";

    public final static String EXAM_QUESTION_LIST = "e:q:l:";

    public static final String USER_MESSAGE_LIST = "u:m:l:";

    public static final String MESSAGE_DETAIL = "m:d:";

    public static final String EXAM_RANK_LIST = "e:r:l:";

}
